Remove libc from leak suppression list
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Jan 2021 05:12:46 +0000 (00:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Jan 2021 05:12:46 +0000 (00:12 -0500)
Every program starts in __libc_start_main, so this would suppress
everything. This doesn't happen in practice because asan by default
is unable to unwind the stack. Setting
ASAN_OPTIONS=fast_unwind_on_malloc=0,malloc_context_size=15 can unwind
the stack, and if malloc_context_size is large enough it will indeed
suppress everything.

lsan.supp

index 04bcd658eeb9919477b7d0cd81f8b0c7742ea225..e3912b41e12256ec1d9d358fcbdc67c2c57da24b 100644 (file)
--- a/lsan.supp
+++ b/lsan.supp
@@ -1,6 +1,5 @@
 leak:g_quark_init
 leak:xdg_mime_init
-leak:libc.so
 leak:libfontconfig.so
 leak:libEGL_mesa.so
 leak:iris_dri.so